Compare Model Workspace (Available only in Enterprise Edition)

Compare Model Workspace is a powerful tool that allows you to compare two model workspaces, view and resolve differences between them.

Navicat Data Modeler provides a step-by-step wizard for you to complete the task:

Choose Source Workspace

The first step is to define the source workspace. You can choose an existing workspace in Navicat Data Modeler or an external workspace file.

Then, click the Compare button.

View Comparison Results

After comparing, the tree view shows the differences between the source and target workspaces. Check the objects you want to apply to the target. You can expand the objects to view the detailed structure.

Choose an option from the drop-down list to show the objects.

Option

Description

All Objects

Show all objects in the source and target.

Objects with Difference

Show all objects that are different in the source and target.

Objects To Be Added

Only show the objects that do not exist in the target.

Objects To Be Updated

Only show the objects that exist in both source and target, but they have different structures.

Objects To Be Deleted

Only show the objects that do not exist in the source.

When you selected an object in the tree view, the DDL Comparison tab shows the DDL statements/scripts of that object in the source and the target, and the Reference Script tab shows the detailed statements/scripts of the object that will be executed in the target database.

Apply Changes

Click the Apply Changes button to apply changes to the selected objects.